
import request from '@/uitls/request'

// 搜索理想建议
export const getSearchSuggestions = q => {
  return request({
    method: 'GET',
    url: '/v1_0/suggestion',
    params: {
      q
    }
  })
}

// 搜索结果请求
export const getSearch = params => {
  return request({
    method: 'GET',
    url: '/v1_0/search',
    params
  })
}
